package com.wisdomparking.config.mvc;

import com.fasterxml.jackson.annotation.JsonInclude;

import lombok.Data;
import lombok.ToString;

@Data
@ToString
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Result<T> {

	private int code;
    private String message;
    private T data;

    private Result() {}

    public static <T> Result<T> newInstance() {
        return new Result<>();
    }
    
}

